function SrfBetEvent( eventType, payload ){
	// Apply the super constructor
	jQuery.Event.call( this, eventType );
	this.payload = payload;
}

//Extend the core jQuery event object.
SrfBetEvent.prototype = new $.Event( "" );

SrfBetEvent.TEST_TYPE='testType';
SrfBetEvent.LOGIN_USER='loginUser';
SrfBetEvent.LOGOUT_USER='logoutUser';
SrfBetEvent.LOCAL_LOGIN_USER='localLoginUser';
SrfBetEvent.LOCAL_PERSIST_USER='localPersistUser';
SrfBetEvent.LOCAL_DELETE_USER='localDeleteUser';
SrfBetEvent.UPDATE_ROLE='updateRole';
SrfBetEvent.UPDATE_DOMAIN='updateDomain';
SrfBetEvent.UPDATE_USER='updateUser';
SrfBetEvent.GET_FBPROFILE='getFBProfile';

function ResultEvent( eventType, result ){
	// Apply the super constructor
	jQuery.Event.call( this, eventType );
	this.result = result;
}

//Extend the core jQuery event object.
ResultEvent.prototype = new $.Event( "" );

ResultEvent.RESULT_SUCCESS='resultSuccess';

function FaultEvent( eventType, error ){
	// Apply the super constructor
	jQuery.Event.call( this, eventType );
	this.error = error;
}

//Extend the core jQuery event object.
FaultEvent.prototype = new $.Event( "" );

FaultEvent.FAULT='faultEvent';